package business;

import java.util.List;

import domain.Permission;
import domain.Photo;
import domain.User;

public interface IPermissionService {
	public List<Permission> getAllPermissions();
	public List<Permission> getPermissionByUser(User user);
	public List<Permission> getPermissionByPhoto(Photo photo);
	
	public boolean savePermission(Permission permission);
	public boolean deletePermission(Permission permission);
	
}
